import { Injectable, EventEmitter } from '@angular/core';

@Injectable()
export class LockScreenService {

    public emitter = new EventEmitter<boolean>();

    constructor() { }

    public lock() {
        this.emitter.emit(true);
    }

    public unLock() {
        this.emitter.emit(false);
    }
}
